new Vue({
    el: '#app',
    data: {
        //总订单数据
        orderData: [1, 2],
        //分类下面那一栏的数据
        goodsTitle: {
            title: 'SDJKHFJKSD FAHJKSDKF',
            notice: '今日推荐',
            month: 'Swedsfa',
            year: '2018',
            date: '28'
        },
        heaIconJson: {
            left: './static/img/icon-list.png',
            middle: "<span style='text-align:center;font-size:32px;'>我的订单</span>",
            right1: './static/img/icon-search.png',
            right2: './static/img/icon-shopping.png'
        },
        //商品数据
        goodsInfo: [{
            img: 'https://img.thebeastshop.com/image/20180918173031174479.jpg@4e_0o_0l_345h_330w_90q.jpg',
            badge: 'Bio-E',
            name: '天然柠檬麦卢卡酵素 500ml',
            price: '139.00',
            explain: '海外购'
        }, {
            img: 'https://img.thebeastshop.com/image/20180918173031174479.jpg@4e_0o_0l_345h_330w_90q.jpg',
            badge: 'Bio-E',
            name: '天然柠檬麦卢卡酵素 500ml',
            price: '139.00',
            explain: '海外购'
        }, {
            img: 'https://img.thebeastshop.com/image/20180918173031174479.jpg@4e_0o_0l_345h_330w_90q.jpg',
            badge: 'Bio-E',
            name: '天然柠檬麦卢卡酵素 500ml',
            price: '139.00',
            explain: '海外购'
        }, {
            img: 'https://img.thebeastshop.com/image/20180918173031174479.jpg@4e_0o_0l_345h_330w_90q.jpg',
            badge: 'Bio-E',
            name: '天然柠檬麦卢卡酵素 500ml',
            price: '139.00',
            explain: '海外购'
        }],
    },
    methods: {
        voucherBtn: function(val) {
            alert(val);
        },
        right1: function() {
            window.location.href = HREF + 'search.html';
        },
        right2: function() {
            window.location.href = HREF + 'index.html';
        },
        //查看物流
        likeWuliu: function() {
            window.location.href = HREF + 'wuliu.html';
        }
    }
});